# displayListSelector object example

The following example shows the displayListSelector object:

`<displayListSelector name="DisplayListSelector1" height="143" width="235" left="390" top="291" visible="true" wallpaper="false" isReferenceObject="false" backColor="#FF6800" borderStyle="raisedInset" borderUsesBackColor="false" borderWidth="8" selectionForeColor="#004000" selectionBackColor="lime" description="SELECT DISPLAY" borderColor="#400000" patternColor="#FFFF80" patternStyle="bricks" blink="true" keyNavigation="true" wrapAround="true" fontFamily="Maiandra GD" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" captionTruncate="character" setLastStateId="3">`

`<states>`

`<state stateId="0" displayPosition="true" displayLeftPosition="110" displayTopPosition="60" display="[DIAGNOSTICS]" parameterFile="params1" parameterList="" parameterType="parameterFile">`

`<caption caption="" color="navy" backColor="cyan" backStyle="solid" alignment="left" blink="false" usesDisplayName="true" />`

`</state>`

`<state stateId="1" displayPosition="true" displayLeftPosition="50" displayTopPosition="10" display="[ALARM]" parameterFile="params1" parameterList="" parameterType="parameterFile">`

`<caption caption="" color="white" backColor="navy" backStyle="solid" alignment="left" blink="false" usesDisplayName="true" />`

`</state>`

`<state stateId="2" displayPosition="true" displayLeftPosition="50" displayTopPosition="10" display="[INFORMATION]" parameterFile="" parameterList="system\Second,system\Time" parameterType="parameterList">`

`<caption caption="" color="purple" backColor="#F890F8" backStyle="solid" alignment="left" blink="false" usesDisplayName="true" />`

`</state>`

`<state stateId="2" displayPosition="true" displayLeftPosition="0" displayTopPosition="0" display="[ALARM]" parameterFile="twoparm" parameterList="" parameterType="parameterFile">`

`<caption caption="" color="silver" backColor="black" backStyle="solid" alignment="left" blink="false" usesDisplayName="true" />`

`</state>`

`</states>`

`<animations>`

`<animateVisibility expression="If TestTag4 < 5 Then 0 Else 1" expressionTrueState="visible" />`

`</animations>`

`</displayListSelector>`

## See also

Display navigation objects: displayListSelector object

displayListSelector object attributes and elements